package com.xingkeduo.pojo.enums;

import com.xingkeduo.util.pojo.base.BaseEnum;

/**
 * @author pantong 
 * 年龄标签
 **/
public enum AgeEnums implements BaseEnum {
    Age70(1, "70后", "", "70后"),
    Age80(2, "80后", "", "80后"),
    Age90(3, "90后", "", "90后"),
    Age00(4, "00后", "", "00后"),
    Ageother(5, "其他", "", "其他");

    private int id;
    private String name;
    private String aliasName;
    private String remark;

    private AgeEnums(int id, String name, String aliasName, String remark) {
        this.id = id;
        this.name = name;
        this.aliasName = aliasName;
        this.remark = remark;
    }

    public static String getNameById(int id) {
    	for (AgeEnums s : AgeEnums.values())
            if(s.id==id){
                return s.name;
        }
    	return "";
    }
    
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAliasName() {
		return aliasName;
	}

	public void setAliasName(String aliasName) {
		this.aliasName = aliasName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public int getValue() {
		// TODO Auto-generated method stub
		return 0;
	}

    
}
